package com.dream.example.common.service;

import com.dream.example.common.model.User;

import javax.management.remote.TargetedNotification;

/**
 * @author Dreamer
 */
public interface UserService {


    /**
     * 获取用户
     * @param user
     * @return
     */
    User getUser(User user);


    default short getNumber() {
        return 1;
    }

}
